/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package db;

import java.util.ArrayList;
import models.StorageItem;
import java.util.HashMap;
import models.Storage;

/**
 *
 * @author Dan
 */
public interface StorageItemInterface {
    
    public ArrayList<StorageItem> getLentItems(int personID);
    // metoden returnere et hasmap med antallet af oprettede eksemplar for hver item.
    public HashMap<String,String> getExempelAmount();
     // metoden returnere en ArrayList med alle eksemplar.
    public ArrayList<StorageItem> getAllRentabelItems();

    public ArrayList<StorageItem> getRentabelItems(int id);
    
    public int addIteam(ArrayList si);

    public boolean deletedItem(int id);
    
    public ArrayList<StorageItem> searchStorageItem(String name, String serienummer);

    public boolean editItem(StorageItem sto);
    
     public ArrayList<StorageItem> getAllItems();
}
